#ifndef BOARD_H_
#define BOARD_H_
/*******************************************************************************
 * File name: 		board.h
 * Description: 
 * Project: 		_htx
 * Target: 			LPC2478
 * Compiler: 		arm-none-eabi-gcc
 * Date: 			31-01-2012
 * Author:        Kuba, Pawel Kobylecki
 * Based on: 		---
 ******************************************************************************/

/*==============================================================================
 Includes
==============================================================================*/
# include "typedef.h"

/*==============================================================================
 Defines
==============================================================================*/
# define OLIMEX         0
# define CANDC          1

# if OLIMEX == 1 && CANDC == 1
# error "Only one board must be defined"
# endif
# if OLIMEX == 0 && CANDC == 0
# error "Choose one board"
# endif

# if CANDC
# define PM    1
# define PS    0
# define PG    0
# if (PM == 1 && PS == 1) || (PS == 1 && PG == 1) || (PM == 1 && PG == 1)
# error "Only one CPU must be defined"
# endif
# if (PM == 0 && PS == 0 && PG == 0)
# error "Choose one CPU"
# endif
# endif /* CANDC */

/*==============================================================================
 Types
==============================================================================*/

/*==============================================================================
 Global function prototypes
==============================================================================*/
void ledInit   (void);
void ledOn     (uint8 num);
void ledOff    (uint8 num);
void ledBlink  (uint8 num);


/******************************************************************************
* END OF FILE
******************************************************************************/



#endif /* BOARD_H_ */
